home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Documents / NeXTAnswers / appkit.51 < prev    next >
Text File  |  1992-02-06  |  652b  |  18 lines

  1. {\rtf0\ansi{\fonttbl\f2\fnil Times-Roman;\f1\fmodern Courier;}
  2. \paperw13040
  3. \paperh10200
  4. \margl120
  5. \margr120
  6. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f2\b0\i0\ul0\fs28 animation events appkit\
  7. \
  8. Q:  While drawing in a window doing animation, I also want to be able to accept events, such as a key stroke.  But the animation must continue if no event occurs.  Timed entries won't work because the animation must be continuous and smooth and is being drawn too fast for the granularity that timed entries provide.\
  9. \
  10. A:  Use DPSPeekEvent() to catch events while not blocking.\
  11. \
  12. QA51\
  13. \
  14. Valid for 1.0\
  15. Valid for 2.0\
  16. \
  17.  
  18.